package com.qf.zyh.dao;

import com.qf.zyh.entity.Emp;
import com.qf.zyh.entity.Pages;

import java.util.List;

public interface EmpDao {
    List<Emp> selectAll();

    Emp selectin(String name);

    int insert(Emp emp);

    int delete(Integer i);

    int update(Emp emp);

    Emp selectid(int id);

    List<Emp> selectPage(Integer startRow,Integer pageSize);

    Long getCount();
}
